package com.juneng.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 用户信息数据传输对象实体类
 *
 * @author zds
 * @since 2021-07-08
 */
@Data
@ApiModel(value = "User对象", description = "用户信息")
public class UserDto{

		/**
		 * 用户信息id
		 */
			@ApiModelProperty(value = "用户信息id")
					private Long userId;
		/**
		 * 姓名
		 */
			@ApiModelProperty(value = "姓名")
					private String nickname;
		/**
		 * 头像
		 */
			@ApiModelProperty(value = "头像")
					private String avatar;
		/**
		 * 手机号
		 */
			@ApiModelProperty(value = "手机号")
					private String phone;
					private LocalDateTime createDate;
		/**
		 * 伪删除
		 */
			@ApiModelProperty(value = "伪删除")
					private Integer status;
		/**
		 * 冻结0否1是
		 */
			@ApiModelProperty(value = "冻结0否1是")
					private Integer block;
		/**
		 * 小程序唯一性标识符
		 */
			@ApiModelProperty(value = "小程序唯一性标识符")
						@TableField("openId")
	private String openId;
		/**
		 * 开放平台唯一标识
		 */
			@ApiModelProperty(value = "开放平台唯一标识")
						@TableField("unionId")
	private String unionId;
		/**
		 * 学习时长（毫秒）
		 */
			@ApiModelProperty(value = "学习时长（毫秒）")
					private Integer learnTime;
		/**
		 * 观看的视频数
		 */
			@ApiModelProperty(value = "观看的视频数")
					private Integer numberOfVideos;


		}
